import React, { Component } from 'react';
import { Drawer, Button } from 'antd';
import styles from './index.less';

class ValueManageDrawer extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    const { title, width, onClose, visible } = this.props;
    return (
      <div className={styles.eject}>
        <Drawer
          // bodyStyle={{ backgroundColor: '#f5f8fa' }}
          title={title}
          width={width}
          onClose={onClose}
          visible={visible}
        >
          {this.props.children}
        </Drawer>
      </div>
    );
  }
}
export default ValueManageDrawer;
